RightView Class Reference

#include <RightView.h>

List of all members.

Public Member Functions

 RightView ()
void setObjectInOperation (TraffEduObject *obj)
osg::Vec3 getOperationPosition ()
void setOperationPosition (osg::Vec3 position)
virtual BOOL PreCreateWindow (CREATESTRUCT &cs)
virtual ~RightView ()
void SetSceneData ()
bool RenderFrame ()
afx_msg void OnObjectrightmenuCut ()
afx_msg void OnObjectrightmenuCopy ()
afx_msg void OnObjectrightmenuDelete ()
afx_msg void OnObjectrightmenuRotate ()
afx_msg void OnFreeplacerightmenuPaste ()
afx_msg void OnVehicleKamyon ()
afx_msg void OnTrafficsignAda ()
afx_msg void OnTrafficlightRed ()
afx_msg void OnTrafficlightYellow ()
afx_msg void OnTrafficlightGreen ()
afx_msg void OnEnvironmentalobjectHouse ()
afx_msg void OnFreeplacerightmenuInserttext ()
afx_msg void OnCameraYawleft ()
afx_msg void OnCameraYawright ()
afx_msg void OnCameraPitchup ()
afx_msg void OnCameraPitchdown ()
afx_msg void OnCameraZoomin ()
afx_msg void OnCameraZoomout ()
afx_msg void OnDikkat ()
afx_msg void OnUpdateDikkat (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignYolver32931 ()
afx_msg void OnUpdateTrafficsignYolver32931 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignIsikliisaretcihazi32932 ()
afx_msg void OnUpdateTrafficsignIsikliisaretcihazi32932 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSagatehlikeliviraj32933 ()
afx_msg void OnUpdateTrafficsignSagatehlikeliviraj32933 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolatehlikeliviraj32934 ()
afx_msg void OnUpdateTrafficsignSolatehlikeliviraj32934 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSagasureklitehlikeliviraj32935 ()
afx_msg void OnUpdateTrafficsignSagasureklitehlikeliviraj32935 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolasureklitehlikeliviraj32936 ()
afx_msg void OnUpdateTrafficsignSolasureklitehlikeliviraj32936 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSaganayol32937 ()
afx_msg void OnUpdateTrafficsignSaganayol32937 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolanayol32942 ()
afx_msg void OnUpdateTrafficsignSolanayol32942 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSagadonulmez32944 ()
afx_msg void OnUpdateTrafficsignSagadonulmez32944 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSoladonulmez32945 ()
afx_msg void OnUpdateTrafficsignSoladonulmez32945 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignUdonusuyapilmaz32946 ()
afx_msg void OnUpdateTrafficsignUdonusuyapilmaz32946 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignOndekitasitigecmekyasaktir32947 ()
afx_msg void OnUpdateTrafficsignOndekitasitigecmekyasaktir32947 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSagamecburiyon32948 ()
afx_msg void OnUpdateTrafficsignSagamecburiyon32948 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolamecburiyon32949 ()
afx_msg void OnUpdateTrafficsignSolamecburiyon32949 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignIlerimecburiyon32950 ()
afx_msg void OnUpdateTrafficsignIlerimecburiyon32950 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignIlerivasagamecburiyon32951 ()
afx_msg void OnUpdateTrafficsignIlerivasagamecburiyon32951 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignIlerivesolamecburiyon32952 ()
afx_msg void OnUpdateTrafficsignIlerivesolamecburiyon32952 (CCmdUI *pCmdUI)
afx_msg void OnVehicleAutomobile ()
afx_msg void OnUpdateVehicleAutomobile (CCmdUI *pCmdUI)
afx_msg void OnVehicleTruck ()
afx_msg void OnUpdateVehicleTruck (CCmdUI *pCmdUI)
afx_msg void OnEnvironmentalobjectHouse32909 ()
afx_msg void OnUpdateEnvironmentalobjectHouse32909 (CCmdUI *pCmdUI)
afx_msg void OnUpdateEnvironmentalobjectHouse (CCmdUI *pCmdUI)
afx_msg void OnUpdateCameraYawleft32849 (CCmdUI *pCmdUI)
afx_msg void OnFreeplacerightmenuInsertaudio ()
afx_msg void OnUpdateFreeplacerightmenuInsertaudio (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolatehlikeliviraj32957 ()
afx_msg void OnUpdateTrafficsignSolatehlikeliviraj32957 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSagasureklitehlikeliviraj32958 ()
afx_msg void OnUpdateTrafficsignSagasureklitehlikeliviraj32958 (CCmdUI *pCmdUI)
afx_msg void OnTrafficsignSolasureklitehlikeliviraj32956 ()
afx_msg void OnTrafficsignSaganayol32959 ()
afx_msg void OnTrafficsignSolanayol32960 ()
afx_msg void OnTrafficsignSagadonulmez32961 ()
afx_msg void OnTrafficsignSoladonulmez32962 ()
afx_msg void OnTrafficsignUdonusuyapilmaz32963 ()
afx_msg void OnTrafficsignOndekitasitigecmekyasaktir32964 ()
afx_msg void OnTrafficsignSagamecburiyon32965 ()
afx_msg void OnTrafficsignSolamecburiyon32966 ()
afx_msg void OnTrafficsignIlerimecburiyon32967 ()
afx_msg void OnTrafficsignIlerivasagamecburiyon32968 ()
afx_msg void OnTrafficsignIlerivesolamecburiyon32969 ()

Public Attributes

osg::Matrixd myCameraMatrix
osg::Matrixd cameraRotation
osg::Matrixd cameraTrans
osg::ref_ptr< Producer::KeyboardMouse > m_KBM
osg::ref_ptr< MFCKeyboardMouseCallbacktime > m_KBMCallback
osg::ref_ptr< Producer::RenderSurface > m_RenderSurface
bool m_bInitialised
osgDB::DatabasePager * m_DatabasePager
BOOL m_bRenderSurfaceRealized
BOOL m_bModelLoaded
osg::Timer_t m_StartTick
unsigned int m_uiFrameNum
BOOL m_bGotFocus

Protected Member Functions

afx_msg void OnSizing (UINT fwSide, LPRECT pRect)
afx_msg void OnPaint ()
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
afx_msg void OnContextMenu (CWnd *pWnd, CPoint point)

Private Attributes

osg::ref_ptr< osg::Group > root
TraffEduObject * objectInOperation
osg::Vec3 operationPosition


Detailed Description

RightView Class. The Form View where the main OSGWindow sits. Main responsibility is to handle Right-Click Menu demands commming from the OSGEventHandler Class.

Definition at line 8 of file RightView.h.


Constructor & Destructor Documentation

RightView::RightView (   ) 
 

Constructor for the RightView class.

Definition at line 326 of file RightView.cpp.

References OSGWindows::getConstantRoot(), m_bGotFocus, m_bInitialised, m_bModelLoaded, m_bRenderSurfaceRealized, m_DatabasePager, objectInOperation, osgwind, and root.

RightView::~RightView (   )  [virtual]
 

Virtual destructor for the RightView.

Definition at line 339 of file RightView.cpp.

References OSGWindows::getViewer(), m_bInitialised, and osgwind.


Member Function Documentation

osg::Vec3 RightView::getOperationPosition (   )  [inline]
 

Getter for the position of the object in operation.

Returns:
the object position

Definition at line 38 of file RightView.h.

References operationPosition.

void RightView::OnCameraPitchdown (   ) 
 

Pitches camera down.

Definition at line 573 of file RightView.cpp.

References CommandCamera::MoveDown(), and osgwind.

void RightView::OnCameraPitchup (   ) 
 

Pitches camera up.

Definition at line 567 of file RightView.cpp.

References CommandCamera::MoveUp(), and osgwind.

void RightView::OnCameraYawleft (   ) 
 

Yaws camera left.

Definition at line 553 of file RightView.cpp.

References CommandCamera::MoveLeft(), and osgwind.

void RightView::OnCameraYawright (   ) 
 

Yaws camera right.

Definition at line 560 of file RightView.cpp.

References CommandCamera::MoveRight(), and osgwind.

void RightView::OnCameraZoomin (   ) 
 

Zooms in the camera.

Definition at line 579 of file RightView.cpp.

References osgwind, and CommandCamera::ZoomIn().

void RightView::OnCameraZoomout (   ) 
 

Zooms out the camera.

Definition at line 585 of file RightView.cpp.

References osgwind, and CommandCamera::ZoomOut().

void RightView::OnContextMenu (  CWnd *  pWnd,
CPoint  point
)  [protected]
 

Function responsible from the mouse right-click callback to the RightView.

Parameters:
pWnd 
point 

Definition at line 452 of file RightView.cpp.

void RightView::OnDikkat (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 591 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), DIKKAT, operationPosition, and osgwind.

void RightView::OnEnvironmentalobjectHouse (   ) 
 

Creates a House.

Definition at line 524 of file RightView.cpp.

References objectInOperation.

void RightView::OnEnvironmentalobjectHouse32909 (   ) 
 

Creates the environmental object House.

Definition at line 810 of file RightView.cpp.

References OSGWindows::addCommandInsertEnvObj(), operationPosition, and osgwind.

void RightView::OnFreeplacerightmenuInsertaudio (   ) 
 

Inserts audio.

Definition at line 830 of file RightView.cpp.

References OSGWindows::m_b_AudioInserted, and osgwind.

void RightView::OnFreeplacerightmenuInserttext (   ) 
 

Inserts a text.

Definition at line 532 of file RightView.cpp.

References CommandText::CreateHUD(), CommandText::createText(), OSGWindows::getCurrentFrameId(), OSGWindows::getTextArray(), OSGWindows::getTextRoot(), CTextDlg::getTextString(), and osgwind.

void RightView::OnFreeplacerightmenuPaste (   ) 
 

Pastes the Object

Definition at line 487 of file RightView.cpp.

References OSGWindows::addCommandPaste(), operationPosition, and osgwind.

afx_msg void RightView::OnMouseMove (  UINT  nFlags,
CPoint  point
)  [protected]
 

Function responsible from the mouse move callback to the RightView.

Parameters:
nFlags 
point 

void RightView::OnObjectrightmenuCopy (   ) 
 

Copies the Object

Definition at line 466 of file RightView.cpp.

References OSGWindows::addCommandCopy(), objectInOperation, and osgwind.

void RightView::OnObjectrightmenuCut (   ) 
 

Cuts the Object

Definition at line 456 of file RightView.cpp.

References OSGWindows::addCommandCut(), objectInOperation, and osgwind.

void RightView::OnObjectrightmenuDelete (   ) 
 

Deletes the Object

Definition at line 473 of file RightView.cpp.

References OSGWindows::addCommandDelete(), objectInOperation, and osgwind.

void RightView::OnObjectrightmenuRotate (   ) 
 

Rotates the Object

Definition at line 480 of file RightView.cpp.

References OSGWindows::addCommandRotate(), objectInOperation, and osgwind.

void RightView::OnPaint (   )  [protected]
 

Function responsible from the paint.

Definition at line 361 of file RightView.cpp.

References OSGWindows::getViewer(), m_bInitialised, osgwind, RenderFrame(), and SetSceneData().

void RightView::OnSizing (  UINT  fwSide,
LPRECT  pRect
)  [protected]
 

Function responsible from the resizing of the RightView.

Parameters:
fwSide 
pRect 

Definition at line 391 of file RightView.cpp.

References RenderFrame().

void RightView::OnTrafficlightGreen (   ) 
 

Creates a Traffic Green Light.

Definition at line 519 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficLight(), NORMAL_ISIK, operationPosition, osgwind, and YESIL.

void RightView::OnTrafficlightRed (   ) 
 

Creates a Traffic Red Light.

Definition at line 507 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficLight(), KIRMIZI, NORMAL_ISIK, operationPosition, and osgwind.

void RightView::OnTrafficlightYellow (   ) 
 

Creates a Traffic Yellow Light.

Definition at line 513 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficLight(), NORMAL_ISIK, operationPosition, osgwind, and SARI.

void RightView::OnTrafficsignAda (   ) 
 

Creates a Traffic Sign Ada.

Definition at line 501 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), DIKKAT, operationPosition, and osgwind.

void RightView::OnTrafficsignIlerimecburiyon32950 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 754 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), ILERI_MECBURI_YON, operationPosition, and osgwind.

void RightView::OnTrafficsignIlerimecburiyon32967 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 907 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), ILERI_MECBURI_YON, operationPosition, and osgwind.

void RightView::OnTrafficsignIlerivasagamecburiyon32951 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 766 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), ILERI_SAGA_MECBURI_YON, operationPosition, and osgwind.

void RightView::OnTrafficsignIlerivasagamecburiyon32968 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 912 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), ILERI_SAGA_MECBURI_YON, operationPosition, and osgwind.

void RightView::OnTrafficsignIlerivesolamecburiyon32952 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 777 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), ILERI_SOLA_MECBURI_YON, operationPosition, and osgwind.

void RightView::OnTrafficsignIlerivesolamecburiyon32969 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 917 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), ILERI_SOLA_MECBURI_YON, operationPosition, and osgwind.

void RightView::OnTrafficsignIsikliisaretcihazi32932 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 611 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), ISIKLI_ISARET_CIHAZI, operationPosition, and osgwind.

void RightView::OnTrafficsignOndekitasitigecmekyasaktir32947 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 721 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), ONDEKI_TASITI_GECMEK_YASAKTIR, operationPosition, and osgwind.

void RightView::OnTrafficsignOndekitasitigecmekyasaktir32964 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 892 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), ONDEKI_TASITI_GECMEK_YASAKTIR, operationPosition, and osgwind.

void RightView::OnTrafficsignSagadonulmez32944 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 690 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SAGA_DONULMEZ.

void RightView::OnTrafficsignSagadonulmez32961 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 877 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SAGA_DONULMEZ.

void RightView::OnTrafficsignSagamecburiyon32948 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 732 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SAGA_MECBURI_YON.

void RightView::OnTrafficsignSagamecburiyon32965 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 897 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SAGA_MECBURI_YON.

void RightView::OnTrafficsignSaganayol32937 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 668 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SAGDAN_ANAYOL_TALIYOL_KAVSAGI.

void RightView::OnTrafficsignSaganayol32959 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 867 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SAGDAN_ANAYOL_TALIYOL_KAVSAGI.

void RightView::OnTrafficsignSagasureklitehlikeliviraj32935 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 643 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SAGA_TEHLIKELI_DEVAMLI_VIRAJ.

void RightView::OnTrafficsignSagasureklitehlikeliviraj32958 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 852 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SAGA_TEHLIKELI_DEVAMLI_VIRAJ.

void RightView::OnTrafficsignSagatehlikeliviraj32933 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 622 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SAGA_TEHLIKELI_VIRAJ.

void RightView::OnTrafficsignSoladonulmez32945 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 700 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SOLA_DONULMEZ.

void RightView::OnTrafficsignSoladonulmez32962 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 882 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SOLA_DONULMEZ.

void RightView::OnTrafficsignSolamecburiyon32949 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 743 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SOLA_MECBURI_YON.

void RightView::OnTrafficsignSolamecburiyon32966 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 902 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SOLA_MECBURI_YON.

void RightView::OnTrafficsignSolanayol32942 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 680 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SOLDAN_ANAYOL_TALIYOL_KAVSAGI.

void RightView::OnTrafficsignSolanayol32960 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 872 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SOLDAN_ANAYOL_TALIYOL_KAVSAGI.

void RightView::OnTrafficsignSolasureklitehlikeliviraj32936 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 655 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SOLA_TEHLIKELI_DEVAMLI_VIRAJ.

void RightView::OnTrafficsignSolasureklitehlikeliviraj32956 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 862 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SOLA_TEHLIKELI_DEVAMLI_VIRAJ.

void RightView::OnTrafficsignSolatehlikeliviraj32934 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 632 of file RightView.cpp.

void RightView::OnTrafficsignSolatehlikeliviraj32957 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 841 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SOLA_TEHLIKELI_VIRAJ.

void RightView::OnTrafficsignUdonusuyapilmaz32946 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 710 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and U_DONUSU_YAPILMAZ.

void RightView::OnTrafficsignUdonusuyapilmaz32963 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 887 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and SOLA_DONULMEZ.

void RightView::OnTrafficsignYolver32931 (   ) 
 

Creates the sign that exist in the name of the funciton.

Definition at line 601 of file RightView.cpp.

References OSGWindows::addCommandInsertTrafficSign(), operationPosition, osgwind, and YOL_VER.

void RightView::OnUpdateCameraYawleft32849 (  CCmdUI *  pCmdUI  ) 
 

Yaws the Camera Left.

Definition at line 826 of file RightView.cpp.

void RightView::OnUpdateDikkat (  CCmdUI *  pCmdUI  ) 
 

Definition at line 596 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateEnvironmentalobjectHouse (  CCmdUI *  pCmdUI  ) 
 

Definition at line 821 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateEnvironmentalobjectHouse32909 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 816 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateFreeplacerightmenuInsertaudio (  CCmdUI *  pCmdUI  ) 
 

Definition at line 836 of file RightView.cpp.

References OSGWindows::m_b_AudioInserted, and osgwind.

void RightView::OnUpdateTrafficsignIlerimecburiyon32950 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 761 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignIlerivasagamecburiyon32951 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 772 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignIlerivesolamecburiyon32952 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 783 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignIsikliisaretcihazi32932 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 617 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignOndekitasitigecmekyasaktir32947 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 727 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSagadonulmez32944 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 695 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSagamecburiyon32948 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 738 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSaganayol32937 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 675 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSagasureklitehlikeliviraj32935 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 649 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSagasureklitehlikeliviraj32958 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 857 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSagatehlikeliviraj32933 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 627 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSoladonulmez32945 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 705 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSolamecburiyon32949 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 749 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSolanayol32942 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 685 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSolasureklitehlikeliviraj32936 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 662 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSolatehlikeliviraj32934 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 638 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignSolatehlikeliviraj32957 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 847 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignUdonusuyapilmaz32946 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 716 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateTrafficsignYolver32931 (  CCmdUI *  pCmdUI  ) 
 

Definition at line 606 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateVehicleAutomobile (  CCmdUI *  pCmdUI  ) 
 

Definition at line 794 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnUpdateVehicleTruck (  CCmdUI *  pCmdUI  ) 
 

Definition at line 805 of file RightView.cpp.

References OSGWindows::getCurrentFrameId(), and osgwind.

void RightView::OnVehicleAutomobile (   ) 
 

Creates the vehicle automobile.

Definition at line 788 of file RightView.cpp.

References OSGWindows::addCommandInsertVehicle(), operationPosition, and osgwind.

void RightView::OnVehicleKamyon (   ) 
 

Creates a big vehicle.

Definition at line 495 of file RightView.cpp.

References OSGWindows::addCommandInsertVehicle(), operationPosition, and osgwind.

void RightView::OnVehicleTruck (   ) 
 

Creates the vehicle Truck.

Definition at line 799 of file RightView.cpp.

References OSGWindows::addCommandInsertVehicle(), operationPosition, and osgwind.

BOOL RightView::PreCreateWindow (  CREATESTRUCT &  cs  )  [virtual]
 

Responsible from the prerecreation of the window and initialization.

Definition at line 345 of file RightView.cpp.

bool RightView::RenderFrame (   ) 
 

Renders the OSGWindows frames.

Definition at line 378 of file RightView.cpp.

References OSGWindows::getViewer(), m_bInitialised, and osgwind.

Referenced by OnPaint(), and OnSizing().

void RightView::setObjectInOperation (  TraffEduObject *  obj  )  [inline]
 

Setter for the object operated on, ie. a rightclick menu is demanded to be popped-on.

Parameters:
obj object in operation.

Definition at line 29 of file RightView.h.

References objectInOperation.

void RightView::setOperationPosition (  osg::Vec3  position  )  [inline]
 

Setter for the position of the object in operation.

Parameters:
position the objects new position.

Definition at line 46 of file RightView.h.

References operationPosition.

void RightView::SetSceneData (   ) 
 

Sets the scene data of the OSGWindows.

Definition at line 407 of file RightView.cpp.

References cameraRotation, cameraTrans, createSkyBox(), OSGWindows::getConstantRoot(), OSGWindows::getViewer(), TrafficModel::initialize(), CarModels::initialize(), RoadMap::loadRoadScene(), myCameraMatrix, osgwind, root, and theRoadMap.

Referenced by OnPaint().


Member Data Documentation

osg::Matrixd RightView::cameraRotation
 

Camera Matrix for rotation of RightView.

Definition at line 61 of file RightView.h.

Referenced by CommandCamera::ManipulateCamera(), and SetSceneData().

osg::Matrixd RightView::cameraTrans
 

Camera Matrix for translation of RightView.

Definition at line 66 of file RightView.h.

Referenced by CommandCamera::ManipulateCamera(), and SetSceneData().

BOOL RightView::m_bGotFocus
 

A boolean variable whether the focus is gained.

Definition at line 142 of file RightView.h.

Referenced by RightView().

bool RightView::m_bInitialised
 

A boolean variable whether the RigtView initalized

Definition at line 112 of file RightView.h.

Referenced by OnPaint(), RenderFrame(), RightView(), and ~RightView().

BOOL RightView::m_bModelLoaded
 

A boolean variable whether the model has been loaded.

Definition at line 127 of file RightView.h.

Referenced by RightView().

BOOL RightView::m_bRenderSurfaceRealized
 

A boolean variable whether render surface has been realized

Definition at line 122 of file RightView.h.

Referenced by RightView().

osgDB::DatabasePager* RightView::m_DatabasePager
 

Database Pager

Definition at line 117 of file RightView.h.

Referenced by RightView().

osg::ref_ptr<Producer::KeyboardMouse> RightView::m_KBM
 

KeyboardMouse to manage the events comming in from the RightView.

Definition at line 97 of file RightView.h.

osg::ref_ptr<MFCKeyboardMouseCallbacktime> RightView::m_KBMCallback
 

KeyBoard Mouse Callback for RightView.

Definition at line 102 of file RightView.h.

osg::ref_ptr<Producer::RenderSurface> RightView::m_RenderSurface
 

Producer RenderSurface used for the RightView rendering.

Definition at line 107 of file RightView.h.

osg::Timer_t RightView::m_StartTick
 

Start of rendering time.

Definition at line 132 of file RightView.h.

unsigned int RightView::m_uiFrameNum
 

Frame Number generated.

Definition at line 137 of file RightView.h.

osg::Matrixd RightView::myCameraMatrix
 

Camera Matrix of RightView.

Definition at line 56 of file RightView.h.

Referenced by CommandCamera::ManipulateCamera(), and SetSceneData().

TraffEduObject* RightView::objectInOperation [private]
 

Definition at line 15 of file RightView.h.

Referenced by OnEnvironmentalobjectHouse(), OnObjectrightmenuCopy(), OnObjectrightmenuCut(), OnObjectrightmenuDelete(), OnObjectrightmenuRotate(), RightView(), and setObjectInOperation().

osg::Vec3 RightView::operationPosition [private]
 

Definition at line 16 of file RightView.h.

Referenced by getOperationPosition(), OnDikkat(), OnEnvironmentalobjectHouse32909(), OnFreeplacerightmenuPaste(), OnTrafficlightGreen(), OnTrafficlightRed(), OnTrafficlightYellow(), OnTrafficsignAda(), OnTrafficsignIlerimecburiyon32950(), OnTrafficsignIlerimecburiyon32967(), OnTrafficsignIlerivasagamecburiyon32951(), OnTrafficsignIlerivasagamecburiyon32968(), OnTrafficsignIlerivesolamecburiyon32952(), OnTrafficsignIlerivesolamecburiyon32969(), OnTrafficsignIsikliisaretcihazi32932(), OnTrafficsignOndekitasitigecmekyasaktir32947(), OnTrafficsignOndekitasitigecmekyasaktir32964(), OnTrafficsignSagadonulmez32944(), OnTrafficsignSagadonulmez32961(), OnTrafficsignSagamecburiyon32948(), OnTrafficsignSagamecburiyon32965(), OnTrafficsignSaganayol32937(), OnTrafficsignSaganayol32959(), OnTrafficsignSagasureklitehlikeliviraj32935(), OnTrafficsignSagasureklitehlikeliviraj32958(), OnTrafficsignSagatehlikeliviraj32933(), OnTrafficsignSoladonulmez32945(), OnTrafficsignSoladonulmez32962(), OnTrafficsignSolamecburiyon32949(), OnTrafficsignSolamecburiyon32966(), OnTrafficsignSolanayol32942(), OnTrafficsignSolanayol32960(), OnTrafficsignSolasureklitehlikeliviraj32936(), OnTrafficsignSolasureklitehlikeliviraj32956(), OnTrafficsignSolatehlikeliviraj32957(), OnTrafficsignUdonusuyapilmaz32946(), OnTrafficsignUdonusuyapilmaz32963(), OnTrafficsignYolver32931(), OnVehicleAutomobile(), OnVehicleKamyon(), OnVehicleTruck(), and setOperationPosition().

osg::ref_ptr<osg::Group> RightView::root [private]
 

Definition at line 14 of file RightView.h.

Referenced by RightView(), and SetSceneData().


The documentation for this class was generated from the following files:
Generated on Sun May 28 18:54:14 2006 for TraffEdu by  doxygen 1.4.6-NO